#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2024/9/6 11:11
# @File           : vendor
# @IDE            : PyCharm
# @desc           : 描述


from fastapi import Depends
from core.dependencies import Paging, QueryParams


class MaterialParams(QueryParams):
    """
    列表分页
    """

    def __init__(
            self,
            params: Paging = Depends(),
            part_no: str = None,
            material_no: str = None,
            material_type: str = None
    ):
        super().__init__(params)
        self.part_no = part_no
        self.material_no = material_no
        self.material_type = material_type